package com.qingyun.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qingyun.reggie.dto.DishDto;
import com.qingyun.reggie.entity.Dish;

import java.util.List;

public interface DishService extends IService<Dish> {

    //新增菜品同时插入口味
    public void saveWithFlavor(DishDto dishDto);
    //根据id查询菜品信息和口味
    public DishDto getByIdWithFlavor(Long id);

    public void updateWithFlavor(DishDto dishDto);

    public void dleteByIds(List<Long> ids);
}
